package com.hospital.register;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

/**
 * 启动类
 *
 * @author 刘逸晖
 */
@SpringBootApplication
@ComponentScan(basePackages = {"com.hospital.register"})
@EnableDiscoveryClient
public class CmnApplication {
public static void main(String[] args) {
        SpringApplication.run(CmnApplication.class, args);
    }
}
